package generator.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName t_member_price
 */
@TableName(value ="t_member_price")
@Data
public class MemberPrice implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品id
     */
    @TableField(value = "product_id")
    private Long product_id;

    /**
     * 会员等级id
     */
    @TableField(value = "member_level_id")
    private Long member_level_id;

    /**
     * 会员价格
     */
    @TableField(value = "member_price")
    private BigDecimal member_price;

    /**
     * 会员等级名称
     */
    @TableField(value = "member_level_name")
    private String member_level_name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}